services:
  alertmanager:
    image: registry.cn-hangzhou.aliyuncs.com/weizhihui/alertmanager:v0.27.0
    container_name: alertmanager
    restart: always
    ports:
      - "9093:9093"
    volumes:
      - {{ monitoring_volumes }}:/etc/alertmanager
    command:
      - '--config.file=/etc/alertmanager/alertmanager.yaml'
    networks:
      - monitor

networks:
  monitor:
    external: true